﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace BSEntities
{
    public abstract class Skill : GameComponent
    {
        public float EffectiveSkill
        {
            get
            {
                float result = ActualSkill;
                foreach (SkillModifier skillModifier in SkillModifiers)
                {
                    result += skillModifier.Value;
                }
                return result;
            }
        }

        public float ActualSkill { get; set; }

        public List<SkillModifier> SkillModifiers { get; set; }

        public string Name { get; set; }

        public BSEntity Entity { get; set; }



    }
}
